package io.renren.modules.medical.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.renren.modules.medical.entity.QuestionnaireSurveyEntity;
import io.renren.modules.medical.vo.medicalVo.QuestionnaireListVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 
 * 
 * @author luosheng
 * @email luoshengshuai@foxmail.com
 * @date 2023-05-22 11:03:36
 */
@Mapper
public interface QuestionnaireSurveyDao extends BaseMapper<QuestionnaireSurveyEntity> {

    List<QuestionnaireListVo> queryDistinctPage(@Param("key") String key, @Param("limit") int limit, @Param("offset") int offset);

    Integer count(@Param("key") String key);
}
